package com.yidu.DailyFinalTreatment.service.impl;

import com.yidu.DailyFinalTreatment.mapper.TANetWorthMapper;
import com.yidu.DailyFinalTreatment.service.TANetWorthService;
import com.yidu.StockControl.entity.TAInventory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TANetWorthServiceImpl implements TANetWorthService {
    @Autowired
    protected TANetWorthMapper taNetWorthMapper;

    @Override
    public List<TAInventory> selectTaNum(String fundId, String netWorthDate) {
        List<TAInventory> taInventories = taNetWorthMapper.selectTaNum(fundId, netWorthDate);
        return taInventories;
    }
}
